package cn.kaguyaever.dao;

import cn.kaguyaever.entity.Candidate;
import cn.kaguyaever.entity.Judge;

import java.util.List;

public interface CandidateDao {

    public int createCandidate(Candidate candidate);

    public List<Candidate> queryAllCandidateByVoteId(String voteId);

    public int voteCandidate(Integer candidateId);

    public int deleteCandidate(String voteId);
}
